package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.WorkflowApproveDetail;
import com.jsh.erp.datasource.entities.WorkflowApproveDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WorkflowApproveDetailMapper {
    long countByExample(WorkflowApproveDetailExample example);

    int deleteByExample(WorkflowApproveDetailExample example);

    int deleteByPrimaryKey(String id);

    int insert(WorkflowApproveDetail record);

    int insertSelective(WorkflowApproveDetail record);

    List<WorkflowApproveDetail> selectByExample(WorkflowApproveDetailExample example);

    WorkflowApproveDetail selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") WorkflowApproveDetail record, @Param("example") WorkflowApproveDetailExample example);

    int updateByExample(@Param("record") WorkflowApproveDetail record, @Param("example") WorkflowApproveDetailExample example);

    int updateByPrimaryKeySelective(WorkflowApproveDetail record);

    int updateByPrimaryKey(WorkflowApproveDetail record);
}